package test1021;

import com.sun.scenario.effect.impl.sw.java.JSWBlend_SRC_OUTPeer;

public class Dog extends Animal{
    public void show(){
        System.out.println("此动物属于宠物");
    }
    public void getName(){
        System.out.println("此动物为狗！是警犬的伙伴  名字叫：" + super.name);
    }
}
